package com.secfound.soccer.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.secfound.soccer.shared.db.Bet;
import com.secfound.soccer.shared.db.Challenger;
import com.secfound.soccer.shared.db.Game;
import com.secfound.soccer.shared.db.Team;

/**
 * The client side stub for the RPC service.
 * @author alfonso.ayala
 *
 */
@RemoteServiceRelativePath("greet")
public interface BettingService extends RemoteService {
	String checkScore(Bet bet ) throws IllegalArgumentException;
	Challenger storeBet(Bet bet)  throws IllegalArgumentException;
	List<Game> listGames(Game game) throws IllegalArgumentException;
	List<Bet> listBets(Bet bet) throws IllegalArgumentException;
	List<Team> listTeams(Team team) throws IllegalArgumentException;	
}
